<?php
require_once __Dir__ . '/../simpletest/autorun.php';
require_once __Dir__ . '/../../Core/Commons/Logger.php';
require_once __Dir__ . '/../../Core/BonoHomeCore/BonoHomeCoreService.php';

class TestOfDeleteAccount extends UnitTestCase 
{
	/*
		Check a correct add answer
	*/
    function testCorrectDeleteAccount() 
	{
		$name = "test account"; 
	
		$service = new BonoHomeCoreService();
		$account = $service->getAccount($name);
		$name = $account->response->Name; 

		$service = new BonoHomeCoreService();
		$account = $service->deleteAccount($name);
		$this->assertTrue($account->isFailed == false);
    }
	
	
	/*
		Check an invalid add answer
	*/
    function testInvalidDeleteAccount() 
	{
		//$this->assertTrue(true);
    }
}
?>